<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Sample 0.9.0 xdomain page</title>
	<script type="text/javascript"
		djConfig="isDebug: true"
		src="http://o.aolcdn.com/dojo/0.9.0/dojo/dojo.xd.js"></script>
	<script type="text/javascript">

		Commands = {
			sayHello: function(){
				var status = "Button Clicked at time: " + (new Date());
				dojo.byId("output").innerHTML = status;
				console.debug(status);
			}
		}

		//Put "onload" logic in here.
		dojo.addOnLoad(function(){
			dojo.connect(dojo.byId("testButton"), "onclick", Commands, "sayHello");
		});
	</script>
</head>
<body>
	<h1>Sample Dojo 0.9.0 xdomain page</h1>
	<p>
		<button id="testButton">Click Me</button>
	</p>
	<p id="output">
	</p>
</body>
</html>
